#include "N1Number.h"

N1Number::N1Number(int i) : m_number(i) { }

bool N1Number::isEqualTo(N1Object *obj)
{
    N1Number *number = dynamic_cast<N1Number*>(obj);
    if(!number) return false;
    if(this->m_number == number->m_number) return true;
    return false;
}
